package com.yanqu.road.entity.log.specialtombrob;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_special_tomb_rob_seven_day_sign", autoSave = true, dataUpload = true, eventName = "sign_in")
public class LogSpecialTombRobSevenDaySign extends BaseLogEntity {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "玩家操作签到的天数1-7", dataAttribute = "sign_id")
    private int signDay;
    @FieldTypeAnnotation(desc = "当前时间是活动第几天")
    private int currentDay;
    @FieldTypeAnnotation(desc = "奖励", dataAttribute = "sign_reward")
    private String reward = "";
    @FieldTypeAnnotation(desc = "是否补签,0否1是", dataAttribute = "sign_type")
    private int isMakeUp;
    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogSpecialTombRobSevenDaySign(int activityId, long userId, int signDay, int currentDay,String reward, int isMakeUp, Date logTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.signDay = signDay;
        this.currentDay = currentDay;
        this.reward = reward;
        this.isMakeUp = isMakeUp;
        this.logTime = logTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSignDay() {
        return signDay;
    }

    public void setSignDay(int signDay) {
        this.signDay = signDay;
    }

    public int getCurrentDay() {
        return currentDay;
    }

    public void setCurrentDay(int currentDay) {
        this.currentDay = currentDay;
    }

    public int getIsMakeUp() {
        return isMakeUp;
    }

    public void setIsMakeUp(int isMakeUp) {
        this.isMakeUp = isMakeUp;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
